<template>
  <el-card class="box-card">
    <div slot="header" class="clearfix">
      <span>{{ cardName }}</span>
      <el-button style="float: right; padding: 3px 0" type="text">查看详情</el-button>
    </div>
    <div v-for="item in items"  class="text item">
<!--      {{'列表内容 ' + o }}-->
      {{item.event}} : {{item.res}}
    </div>
  </el-card>
</template>

<script>
export default {
  name: 'AuthDesc',
  props: ['cardName', 'items']
}
</script>

<style scoped>
.text {
  font-size: 14px;
}

.item {
  margin-bottom: 12px;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both
}

.box-card {
  width: 100%;
  height: 276px
}
</style>
